﻿using System;
using System.Collections.Generic;
using YJKRevitBase.SqlUtility.ORMSuit;

namespace YJKRevitKernel.SampleAndTest.ROMSuitTest
{
	public class TheOneOfOneMany : BaseEntity
	{
		public virtual string StrName
		{
			get
			{
				return this.m_strName;
			}
			set
			{
				this.m_strName = value;
			}
		}

		public virtual IEnumerable<TheManyOfOneMany> LstMany
		{
			get
			{
				return this.lstMany;
			}
			set
			{
				this.lstMany = value;
			}
		}

		public TheOneOfOneMany()
		{
		}

		public TheOneOfOneMany(string inpuName)
		{
			this.StrName = inpuName;
		}

		public TheOneOfOneMany(string inputName, List<TheManyOfOneMany> lstThisMany)
		{
			this.StrName = inputName;
			this.LstMany = lstThisMany;
		}

		private string m_strName;

		private IEnumerable<TheManyOfOneMany> lstMany;
	}
}
